package com.spinach.game.core;

import com.spinach.game.enums.PokerLevel;
import com.spinach.game.enums.PokerType;
import lombok.Builder;
import lombok.Data;

/**
 * 斗地主的牌
 */
@Data
@Builder
public class Poker {
    /**
     * 等级点数
     */
    private PokerLevel level;

    /**
     * 牌型
     */
    private PokerType type;

    public int getLevelValue() {
        return level.getLevel();
    }
}
